info_tuple = ('zhangsan', 18, 1.75)

# 取值和取索引
print(info_tuple[0])
print(info_tuple.index(18))

# 统计次数
print(info_tuple.count('zhangsan'))
# 统计元祖中包含元素的个数
print(len(info_tuple))

print('----')
for char in 'zhangsan':
    print(char)

